<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <meta http-equiv="content-type" content="text/html" charset="UTF-8">
    <title>登陆页面</title>
</head>
<body>
<%--使用message 标签来输出国际化信息--%>
  <h3>登陆页面</h3>
  <%--@elvariable id="student" type="com.jnshu.entity.Student"--%>
  <form:form  method="post" action="login">
    <font color="red">${requestScope.message}</font>
    <table>
      <tr>
        <td><label>登陆名:</label> </td>
        <td><input type="text" id="sname" name="sname"></td>
      </tr>
      <tr>
        <td><label>密码:</label></td>
        <td><input type="password" id="password" name="password"></td>
      </tr>
      <tr>
        <td><input  type="submit" value="登陆"> </td>
      </tr>
    </table>
  </form:form>
管理员：admin
密码：admin
</body>
</html>
